"""
@file: shop_cart.py
@author: yangsiting
@data: 2021/04/28
@desc:
"""
from .base import ma
from models.shop_cart import Shop_cart_Info


class Shop_cart_Schema(ma.Schema):
    class Meta:
        model = Shop_cart_Info
        fields = ('user_profile_id','goods_id','goods_num')



shop_cart_schema = Shop_cart_Schema()
shops_cart_schema = Shop_cart_Schema(many=True)